package com.yiyuan.weixin.weixinOutservice.dao;

import com.yiyuan.weixin.Common.GlobalConstant;
import com.yiyuan.weixin.utils.HttpUtil;

/**
 * Created by admin on 2017/3/29.
 */
public class GroundServiceDao implements GroundService {
    /******
     *
     */
    public String createGround(String json){
        return HttpUtil.sendPostUrl(GlobalConstant.create_ground+GlobalConstant.ACCESS_TOKEN,json);
    }

    public String getGroudId(String json){
        return HttpUtil.sendPostUrl(GlobalConstant.gorund_update+GlobalConstant.ACCESS_TOKEN,json);
    }

    public String getInfo(String url)
    {
        return HttpUtil.sendGet(url);
    }
}
